.payment-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40rpx;
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-sizing: border-box;
}

.title {
  font-size: 48rpx;
  font-weight: bold;
  color: white;
  text-align: center;
  margin-bottom: 40rpx;
  text-shadow: 2rpx 2rpx 4rpx rgba(0, 0, 0, 0.2);
}

.balance-info {
  width: 100%;
  max-width: 600rpx;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 30rpx;
  border-radius: 20rpx;
  backdrop-filter: blur(10px);
  margin-bottom: 40rpx;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.balance-label {
  font-size: 30rpx;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10rpx;
}

.balance-amount {
  font-size: 48rpx;
  font-weight: bold;
  color: white;
}

.payment-form {
  width: 100%;
  max-width: 600rpx;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 40rpx;
  border-radius: 20rpx;
  backdrop-filter: blur(10px);
  margin-bottom: 40rpx;
}

.input-group {
  width: 100%;
  margin-bottom: 30rpx;
}

.label {
  font-size: 30rpx;
  color: white;
  margin-bottom: 10rpx;
  display: block;
}

.input {
  width: 100%;
  padding: 20rpx;
  border: 1rpx solid #ddd;
  border-radius: 10rpx;
  font-size: 28rpx;
  background-color: rgba(255, 255, 255, 0.95);
  box-sizing: border-box;
}

.helper-btn {
  width: 100%;
  margin-top: 10rpx;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1rpx solid rgba(255, 255, 255, 0.3);
  font-size: 26rpx;
  padding: 15rpx 0;
}

.button-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20rpx;
  margin-top: 20rpx;
}

.primary-btn {
  width: 100%;
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 25rpx 0;
  font-size: 32rpx;
  border-radius: 10rpx;
  box-shadow: 0 6rpx 12rpx rgba(76, 175, 80, 0.3);
}

.secondary-btn {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1rpx solid rgba(255, 255, 255, 0.3);
  padding: 25rpx 0;
  font-size: 32rpx;
  border-radius: 10rpx;
}

.transaction-history {
  width: 100%;
  max-width: 600rpx;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 30rpx;
  border-radius: 20rpx;
  backdrop-filter: blur(10px);
  margin-bottom: 40rpx;
}

.subtitle {
  font-size: 34rpx;
  font-weight: bold;
  color: white;
  margin-bottom: 20rpx;
  display: block;
}

.transaction-item {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 20rpx;
  border-radius: 15rpx;
  margin-bottom: 20rpx;
}

.transaction-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15rpx;
}

.transaction-id {
  font-size: 26rpx;
  color: rgba(255, 255, 255, 0.9);
  flex: 1;
}

.transaction-amount {
  font-size: 30rpx;
  font-weight: bold;
  color: white;
  margin: 0 20rpx;
}

.transaction-status {
  font-size: 26rpx;
  padding: 5rpx 15rpx;
  border-radius: 15rpx;
}

.status-pending {
  background-color: rgba(255, 193, 7, 0.3);
  color: #ffc107;
}

.status-completed {
  background-color: rgba(76, 175, 80, 0.3);
  color: #4caf50;
}

.status-failed {
  background-color: rgba(244, 67, 54, 0.3);
  color: #f44336;
}

.transaction-info {
  margin-bottom: 15rpx;
}

.transaction-info Text {
  font-size: 24rpx;
  color: rgba(255, 255, 255, 0.8);
  display: block;
  margin-bottom: 5rpx;
}

.verify-btn {
  width: 100%;
  background-color: rgba(33, 150, 243, 0.3);
  color: #2196f3;
  border: 1rpx solid rgba(33, 150, 243, 0.5);
  padding: 15rpx 0;
  font-size: 26rpx;
  border-radius: 10rpx;
}

.empty-message {
  color: rgba(255, 255, 255, 0.7);
  font-size: 28rpx;
  text-align: center;
  padding: 40rpx;
}

.logs-section {
  width: 100%;
  max-width: 600rpx;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 30rpx;
  border-radius: 20rpx;
  backdrop-filter: blur(10px);
}

.logs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20rpx;
}

.clear-log-btn {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1rpx solid rgba(255, 255, 255, 0.3);
  font-size: 26rpx;
  padding: 10rpx 20rpx;
}

.logs-container {
  width: 100%;
  max-height: 400rpx;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10rpx;
  padding: 20rpx;
  font-family: monospace;
}

.log-entry {
  color: rgba(255, 255, 255, 0.9);
  font-size: 24rpx;
  display: block;
  margin-bottom: 10rpx;
  line-height: 1.4;
}

/* 自定义滚动条 */
.logs-container::-webkit-scrollbar {
  width: 10rpx;
}

.logs-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 5rpx;
}

.logs-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 5rpx;
}

.logs-container::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .payment-container {
    padding: 20rpx;
  }
  
  .title {
    font-size: 40rpx;
  }
  
  .payment-form,
  .transaction-history,
  .logs-section,
  .balance-info {
    padding: 25rpx;
  }
  
  .primary-btn,
  .secondary-btn {
    font-size: 30rpx;
    padding: 22rpx 0;
  }
  
  .input {
    font-size: 26rpx;
  }
}

@media (max-width: 480px) {
  .payment-container {
    padding: 15rpx;
  }
  
  .title {
    font-size: 36rpx;
  }
  
  .payment-form,
  .transaction-history,
  .logs-section,
  .balance-info {
    padding: 20rpx;
  }
  
  .input-group {
    margin-bottom: 20rpx;
  }
  
  .log-entry {
    font-size: 22rpx;
  }
}